# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dataGen.ui'
#
# Created: Thu Jul  8 22:24:22 2010
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_dataGenUI(object):
    def setupUi(self, dataGenUI):
        dataGenUI.setObjectName("dataGenUI")
        dataGenUI.resize(875, 840)
        dataGenUI.setMaximumSize(QtCore.QSize(16777215, 1677215))
        self.centralwidget = QtGui.QWidget(dataGenUI)
        self.centralwidget.setGeometry(QtCore.QRect(0, 58, 875, 759))
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.splitter = QtGui.QSplitter(self.centralwidget)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName("splitter")
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.gridLayout.setObjectName("gridLayout")
        self.percentDropsLabel = QtGui.QLabel(self.layoutWidget)
        self.percentDropsLabel.setEnabled(False)
        self.percentDropsLabel.setObjectName("percentDropsLabel")
        self.gridLayout.addWidget(self.percentDropsLabel, 5, 0, 1, 1)
        self.percentDropsEdit = QtGui.QLineEdit(self.layoutWidget)
        self.percentDropsEdit.setEnabled(False)
        self.percentDropsEdit.setObjectName("percentDropsEdit")
        self.gridLayout.addWidget(self.percentDropsEdit, 5, 1, 1, 5)
        self.dutyLengthLabel = QtGui.QLabel(self.layoutWidget)
        self.dutyLengthLabel.setEnabled(False)
        self.dutyLengthLabel.setObjectName("dutyLengthLabel")
        self.gridLayout.addWidget(self.dutyLengthLabel, 7, 0, 1, 1)
        self.dutyCycleEdit = QtGui.QLineEdit(self.layoutWidget)
        self.dutyCycleEdit.setEnabled(False)
        self.dutyCycleEdit.setObjectName("dutyCycleEdit")
        self.gridLayout.addWidget(self.dutyCycleEdit, 7, 1, 1, 2)
        self.spacingFileButton = QtGui.QPushButton(self.layoutWidget)
        self.spacingFileButton.setEnabled(False)
        self.spacingFileButton.setObjectName("spacingFileButton")
        self.gridLayout.addWidget(self.spacingFileButton, 9, 0, 1, 1)
        self.spacingFileEdit = QtGui.QLineEdit(self.layoutWidget)
        self.spacingFileEdit.setEnabled(False)
        self.spacingFileEdit.setObjectName("spacingFileEdit")
        self.gridLayout.addWidget(self.spacingFileEdit, 9, 1, 1, 5)
        self.noisePercentLabel = QtGui.QLabel(self.layoutWidget)
        self.noisePercentLabel.setEnabled(False)
        self.noisePercentLabel.setObjectName("noisePercentLabel")
        self.gridLayout.addWidget(self.noisePercentLabel, 4, 0, 1, 1)
        self.noiseFreqPercentEdit = QtGui.QLineEdit(self.layoutWidget)
        self.noiseFreqPercentEdit.setEnabled(False)
        self.noiseFreqPercentEdit.setObjectName("noiseFreqPercentEdit")
        self.gridLayout.addWidget(self.noiseFreqPercentEdit, 4, 3, 1, 1)
        self.typeSelectBox = QtGui.QComboBox(self.layoutWidget)
        self.typeSelectBox.setObjectName("typeSelectBox")
        self.typeSelectBox.addItem("")
        self.typeSelectBox.addItem("")
        self.typeSelectBox.addItem("")
        self.typeSelectBox.addItem("")
        self.typeSelectBox.addItem("")
        self.gridLayout.addWidget(self.typeSelectBox, 1, 1, 1, 3)
        self.startEdit = QtGui.QLineEdit(self.layoutWidget)
        self.startEdit.setObjectName("startEdit")
        self.gridLayout.addWidget(self.startEdit, 3, 1, 1, 2)
        self.lengthEdit = QtGui.QLineEdit(self.layoutWidget)
        self.lengthEdit.setObjectName("lengthEdit")
        self.gridLayout.addWidget(self.lengthEdit, 2, 1, 1, 5)
        self.label_5 = QtGui.QLabel(self.layoutWidget)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 2, 0, 1, 1)
        self.noisePhasePercentEdit = QtGui.QLineEdit(self.layoutWidget)
        self.noisePhasePercentEdit.setEnabled(False)
        self.noisePhasePercentEdit.setObjectName("noisePhasePercentEdit")
        self.gridLayout.addWidget(self.noisePhasePercentEdit, 4, 4, 1, 1)
        self.addNoiseCheckBox = QtGui.QCheckBox(self.layoutWidget)
        self.addNoiseCheckBox.setObjectName("addNoiseCheckBox")
        self.gridLayout.addWidget(self.addNoiseCheckBox, 1, 4, 1, 2)
        self.endEdit = QtGui.QLineEdit(self.layoutWidget)
        self.endEdit.setObjectName("endEdit")
        self.gridLayout.addWidget(self.endEdit, 3, 3, 1, 3)
        self.noiseTotalPercentEdit = QtGui.QLineEdit(self.layoutWidget)
        self.noiseTotalPercentEdit.setEnabled(False)
        self.noiseTotalPercentEdit.setObjectName("noiseTotalPercentEdit")
        self.gridLayout.addWidget(self.noiseTotalPercentEdit, 4, 1, 1, 1)
        self.noiseAmpPercentEdit = QtGui.QLineEdit(self.layoutWidget)
        self.noiseAmpPercentEdit.setEnabled(False)
        self.noiseAmpPercentEdit.setObjectName("noiseAmpPercentEdit")
        self.gridLayout.addWidget(self.noiseAmpPercentEdit, 4, 2, 1, 1)
        self.dutyPulseLengthEdit = QtGui.QLineEdit(self.layoutWidget)
        self.dutyPulseLengthEdit.setEnabled(False)
        self.dutyPulseLengthEdit.setObjectName("dutyPulseLengthEdit")
        self.gridLayout.addWidget(self.dutyPulseLengthEdit, 7, 3, 1, 2)
        self.horizontalLayout_2.addLayout(self.gridLayout)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.verticalLayout.addWidget(self.label_4)
        self.componentsTable = QtGui.QTableWidget(self.layoutWidget)
        self.componentsTable.setMinimumSize(QtCore.QSize(320, 0))
        self.componentsTable.setObjectName("componentsTable")
        self.componentsTable.setColumnCount(3)
        self.componentsTable.setRowCount(1)
        item = QtGui.QTableWidgetItem()
        self.componentsTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.componentsTable.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.componentsTable.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.componentsTable.setItem(0, 0, item)
        item = QtGui.QTableWidgetItem()
        self.componentsTable.setItem(0, 1, item)
        item = QtGui.QTableWidgetItem()
        self.componentsTable.setItem(0, 2, item)
        self.verticalLayout.addWidget(self.componentsTable)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.addButton = QtGui.QPushButton(self.layoutWidget)
        self.addButton.setObjectName("addButton")
        self.horizontalLayout.addWidget(self.addButton)
        self.clearButton = QtGui.QPushButton(self.layoutWidget)
        self.clearButton.setObjectName("clearButton")
        self.horizontalLayout.addWidget(self.clearButton)
        self.deleteButton = QtGui.QPushButton(self.layoutWidget)
        self.deleteButton.setObjectName("deleteButton")
        self.horizontalLayout.addWidget(self.deleteButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.dockWidget = QtGui.QDockWidget(self.splitter)
        self.dockWidget.setWindowModality(QtCore.Qt.NonModal)
        self.dockWidget.setMinimumSize(QtCore.QSize(0, 350))
        self.dockWidget.setFloating(False)
        self.dockWidget.setFeatures(QtGui.QDockWidget.AllDockWidgetFeatures)
        self.dockWidget.setObjectName("dockWidget")
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setGeometry(QtCore.QRect(0, 23, 857, 402))
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.gridLayout_3 = QtGui.QGridLayout(self.dockWidgetContents)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.qwtPlot = QwtPlot(self.dockWidgetContents)
        self.qwtPlot.setObjectName("qwtPlot")
        self.verticalLayout_2.addWidget(self.qwtPlot)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_6 = QtGui.QLabel(self.dockWidgetContents)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_3.addWidget(self.label_6)
        self.AveTimeSepLabel = QtGui.QLabel(self.dockWidgetContents)
        self.AveTimeSepLabel.setObjectName("AveTimeSepLabel")
        self.horizontalLayout_3.addWidget(self.AveTimeSepLabel)
        self.label_8 = QtGui.QLabel(self.dockWidgetContents)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_3.addWidget(self.label_8)
        self.MinTimeSepLabel = QtGui.QLabel(self.dockWidgetContents)
        self.MinTimeSepLabel.setObjectName("MinTimeSepLabel")
        self.horizontalLayout_3.addWidget(self.MinTimeSepLabel)
        self.label_10 = QtGui.QLabel(self.dockWidgetContents)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_3.addWidget(self.label_10)
        self.MaxTimeSepLabel = QtGui.QLabel(self.dockWidgetContents)
        self.MaxTimeSepLabel.setObjectName("MaxTimeSepLabel")
        self.horizontalLayout_3.addWidget(self.MaxTimeSepLabel)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.gridLayout_3.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
        self.dockWidget.setWidget(self.dockWidgetContents)
        self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 1)
        dataGenUI.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(dataGenUI)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 875, 26))
        self.menubar.setObjectName("menubar")
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.menuHelp.setObjectName("menuHelp")
        dataGenUI.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(dataGenUI)
        self.statusbar.setGeometry(QtCore.QRect(0, 817, 875, 23))
        self.statusbar.setObjectName("statusbar")
        dataGenUI.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(dataGenUI)
        self.toolBar.setGeometry(QtCore.QRect(0, 26, 875, 32))
        self.toolBar.setObjectName("toolBar")
        dataGenUI.addToolBar(QtCore.Qt.ToolBarArea(QtCore.Qt.TopToolBarArea), self.toolBar)
        self.actionGenerate = QtGui.QAction(dataGenUI)
        self.actionGenerate.setObjectName("actionGenerate")
        self.actionSaveData = QtGui.QAction(dataGenUI)
        self.actionSaveData.setObjectName("actionSaveData")
        self.actionLoadParameters = QtGui.QAction(dataGenUI)
        self.actionLoadParameters.setObjectName("actionLoadParameters")
        self.actionSaveParameters = QtGui.QAction(dataGenUI)
        self.actionSaveParameters.setObjectName("actionSaveParameters")
        self.actionAbout = QtGui.QAction(dataGenUI)
        self.actionAbout.setObjectName("actionAbout")
        self.menuHelp.addAction(self.actionAbout)
        self.menubar.addAction(self.menuHelp.menuAction())
        self.toolBar.addAction(self.actionGenerate)
        self.toolBar.addAction(self.actionSaveData)
        self.toolBar.addAction(self.actionLoadParameters)
        self.toolBar.addAction(self.actionSaveParameters)

        self.retranslateUi(dataGenUI)
        QtCore.QMetaObject.connectSlotsByName(dataGenUI)

    def retranslateUi(self, dataGenUI):
        dataGenUI.setWindowTitle(QtGui.QApplication.translate("dataGenUI", "DataGen (time series data generator) version 0.1", None, QtGui.QApplication.UnicodeUTF8))
        self.percentDropsLabel.setText(QtGui.QApplication.translate("dataGenUI", "% drops", None, QtGui.QApplication.UnicodeUTF8))
        self.percentDropsEdit.setText(QtGui.QApplication.translate("dataGenUI", "50", None, QtGui.QApplication.UnicodeUTF8))
        self.dutyLengthLabel.setText(QtGui.QApplication.translate("dataGenUI", "% duty cycle , pulse length", None, QtGui.QApplication.UnicodeUTF8))
        self.dutyCycleEdit.setText(QtGui.QApplication.translate("dataGenUI", "50", None, QtGui.QApplication.UnicodeUTF8))
        self.spacingFileButton.setText(QtGui.QApplication.translate("dataGenUI", "Get spacing file", None, QtGui.QApplication.UnicodeUTF8))
        self.spacingFileEdit.setText(QtGui.QApplication.translate("dataGenUI", "file", None, QtGui.QApplication.UnicodeUTF8))
        self.noisePercentLabel.setText(QtGui.QApplication.translate("dataGenUI", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Noise (total, amp, freq, phase)</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">(% variation in each component)</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.noiseFreqPercentEdit.setText(QtGui.QApplication.translate("dataGenUI", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.typeSelectBox.setItemText(0, QtGui.QApplication.translate("dataGenUI", "Even sampling", None, QtGui.QApplication.UnicodeUTF8))
        self.typeSelectBox.setItemText(1, QtGui.QApplication.translate("dataGenUI", "Ramdom times", None, QtGui.QApplication.UnicodeUTF8))
        self.typeSelectBox.setItemText(2, QtGui.QApplication.translate("dataGenUI", "Random drops", None, QtGui.QApplication.UnicodeUTF8))
        self.typeSelectBox.setItemText(3, QtGui.QApplication.translate("dataGenUI", "Duty cycle", None, QtGui.QApplication.UnicodeUTF8))
        self.typeSelectBox.setItemText(4, QtGui.QApplication.translate("dataGenUI", "Spacing file", None, QtGui.QApplication.UnicodeUTF8))
        self.startEdit.setText(QtGui.QApplication.translate("dataGenUI", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.lengthEdit.setText(QtGui.QApplication.translate("dataGenUI", "101", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("dataGenUI", "type", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("dataGenUI", "Range (start, end)", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("dataGenUI", "Length", None, QtGui.QApplication.UnicodeUTF8))
        self.noisePhasePercentEdit.setText(QtGui.QApplication.translate("dataGenUI", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.addNoiseCheckBox.setText(QtGui.QApplication.translate("dataGenUI", "Add noise", None, QtGui.QApplication.UnicodeUTF8))
        self.endEdit.setText(QtGui.QApplication.translate("dataGenUI", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.noiseTotalPercentEdit.setText(QtGui.QApplication.translate("dataGenUI", "5", None, QtGui.QApplication.UnicodeUTF8))
        self.noiseAmpPercentEdit.setText(QtGui.QApplication.translate("dataGenUI", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.dutyPulseLengthEdit.setText(QtGui.QApplication.translate("dataGenUI", "2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("dataGenUI", "Spectral components", None, QtGui.QApplication.UnicodeUTF8))
        self.componentsTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("dataGenUI", "amp", None, QtGui.QApplication.UnicodeUTF8))
        self.componentsTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("dataGenUI", "freq (Hz)", None, QtGui.QApplication.UnicodeUTF8))
        self.componentsTable.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("dataGenUI", "phase (pi)", None, QtGui.QApplication.UnicodeUTF8))
        __sortingEnabled = self.componentsTable.isSortingEnabled()
        self.componentsTable.setSortingEnabled(False)
        self.componentsTable.item(0, 0).setText(QtGui.QApplication.translate("dataGenUI", "1.0", None, QtGui.QApplication.UnicodeUTF8))
        self.componentsTable.item(0, 1).setText(QtGui.QApplication.translate("dataGenUI", "1.0", None, QtGui.QApplication.UnicodeUTF8))
        self.componentsTable.item(0, 2).setText(QtGui.QApplication.translate("dataGenUI", "0.0", None, QtGui.QApplication.UnicodeUTF8))
        self.componentsTable.setSortingEnabled(__sortingEnabled)
        self.addButton.setText(QtGui.QApplication.translate("dataGenUI", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setText(QtGui.QApplication.translate("dataGenUI", "Clear", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("dataGenUI", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.dockWidget.setWindowTitle(QtGui.QApplication.translate("dataGenUI", "Data plot", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("dataGenUI", "Ave time seperation: ", None, QtGui.QApplication.UnicodeUTF8))
        self.AveTimeSepLabel.setText(QtGui.QApplication.translate("dataGenUI", "--", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("dataGenUI", "Min time seperation", None, QtGui.QApplication.UnicodeUTF8))
        self.MinTimeSepLabel.setText(QtGui.QApplication.translate("dataGenUI", "--", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("dataGenUI", "Max time seperation:", None, QtGui.QApplication.UnicodeUTF8))
        self.MaxTimeSepLabel.setText(QtGui.QApplication.translate("dataGenUI", "--", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("dataGenUI", "help", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("dataGenUI", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.actionGenerate.setText(QtGui.QApplication.translate("dataGenUI", "generate", None, QtGui.QApplication.UnicodeUTF8))
        self.actionGenerate.setShortcut(QtGui.QApplication.translate("dataGenUI", "Ctrl+G", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSaveData.setText(QtGui.QApplication.translate("dataGenUI", "save data", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSaveData.setShortcut(QtGui.QApplication.translate("dataGenUI", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoadParameters.setText(QtGui.QApplication.translate("dataGenUI", "load parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSaveParameters.setText(QtGui.QApplication.translate("dataGenUI", "save parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout.setText(QtGui.QApplication.translate("dataGenUI", "about", None, QtGui.QApplication.UnicodeUTF8))

from PyQt4.Qwt5 import QwtPlot
